<h1>Leaderboard - <?php echo $sf_user->getCurrentGroup()->getGroupName() ?></h1>

<table cellspacing="0">
  <thead>
    <tr>
      <th>Rank</th>
      <th>Username</th>
      <th>Firstname</th>
      <th>Lastname</th>
      <th>Sex</th>
      <th><?php //echo ($gofish_player->getSex() == 'M')?"Girl":"Guy" ?> Count</th>
      <th>Total Points</th>
    </tr>
  </thead>
  <?php $i = 0; ?>
  <?php foreach ($gofish_players as $gofish_player): ?>
    <tr>
      <td>
        <?php echo "<b>".++$i."</b>"; ?>
      </td>
      <td>
        <?php echo $gofish_player->getUsername(); ?>
      </td>
      <td>
        <?php echo $gofish_player->getFirstname(); ?>
      </td>
      <td>
        <?php echo $gofish_player->getLastname(); ?>
      </td>
      <td>
        <?php echo $gofish_player->getSex(); ?>
      </td>
      <td>
        <?php echo $gofish_player->getGirls(); ?>
      </td>
      <td>
        <?php echo $gofish_player->getPoints(); ?>
      </td>
    </tr>
  <?php endforeach; ?>
  </tbody>
</table>